package com.galen.bean;

import javax.persistence.GeneratedValue;
import javax.persistence.Entity;
import javax.persistence.Id;


@Entity
public class User {

	private int uId;
	private String uName;
	private String uPwd;
	private String uType;
	
	
	public User() {
		super();
	}
	public User( String uName, String uPwd, String uType) {
		super();
		//this.uId = uId;
		this.uName = uName;
		this.uPwd = uPwd;
		this.uType = uType;
	}
	
	
	public User(int uId, String uName, String uPwd, String uType) {
		super();
		this.uId = uId;
		this.uName = uName;
		this.uPwd = uPwd;
		this.uType = uType;
	}
	@Id
	@GeneratedValue
	public int getuId() {
		return uId;
	}
	public void setuId(int uId) {
		this.uId = uId;
	}
	public String getuName() {
		return uName;
	}
	public void setuName(String uName) {
		this.uName = uName;
	}
	public String getuPwd() {
		return uPwd;
	}
	public void setuPwd(String uPwd) {
		this.uPwd = uPwd;
	}
	public String getuType() {
		return uType;
	}
	public void setuType(String uType) {
		this.uType = uType;
	}
	
	
}
